package net.steam.easyjoboa.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * AddressGroup entity. @author MyEclipse Persistence Tools
 */

public class AddressGroup implements java.io.Serializable {

	// Fields

	private Integer addressGroupId;
	private Employee employee;
	private String addressGroupName;
	private String addressGroupDesc;
	private Set addressBooks = new HashSet(0);

	// Constructors

	/** default constructor */
	public AddressGroup() {
	}

	/** minimal constructor */
	public AddressGroup(String addressGroupName) {
		this.addressGroupName = addressGroupName;
	}

	/** full constructor */
	public AddressGroup(Employee employee, String addressGroupName,
			String addressGroupDesc, Set addressBooks) {
		this.employee = employee;
		this.addressGroupName = addressGroupName;
		this.addressGroupDesc = addressGroupDesc;
		this.addressBooks = addressBooks;
	}

	// Property accessors

	public Integer getAddressGroupId() {
		return this.addressGroupId;
	}

	public void setAddressGroupId(Integer addressGroupId) {
		this.addressGroupId = addressGroupId;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public String getAddressGroupName() {
		return this.addressGroupName;
	}

	public void setAddressGroupName(String addressGroupName) {
		this.addressGroupName = addressGroupName;
	}

	public String getAddressGroupDesc() {
		return this.addressGroupDesc;
	}

	public void setAddressGroupDesc(String addressGroupDesc) {
		this.addressGroupDesc = addressGroupDesc;
	}

	public Set getAddressBooks() {
		return this.addressBooks;
	}

	public void setAddressBooks(Set addressBooks) {
		this.addressBooks = addressBooks;
	}

}